package com.wmz.disruptor.factory;

import com.lmax.disruptor.EventFactory;
import com.wmz.disruptor.model.MessageModel;

/**
 * @author lihechun
 * @version 1.0
 * @description: 事件工厂
 * @date 2024/11/27 22:02
 */
public class HelloEventFactory implements EventFactory<MessageModel> {

    @Override
    public MessageModel newInstance() {
        return new MessageModel();
    }
}
